package com.zuipin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author zhuangjiajian
 * @date 2017-7-27 14:16:39
 */
@ApiModel(description = "积分商城前台查询(有货无货,品类,积分值区间)/排序(默认-库存.销量      库存-积分  库存-上下架时间  ) 条件VO")
public class IntegralProSearchVo {
	
	private Long	sysId;
	private String	device;
	private Long	minPrice	= 0l;		// 默认为0
	private Long	maxPrice	= 99999999L;
	private Short	isSoldOut;
	private Long	catId;
	
	private String	imgPath;				// 图片路径（仅用于sql拼接路径使用）
	
	private Short	orderBy;				// 排序的字段 1销量2积分价3上架时间
	private Short	orderPosition;			// 0倒序desc 1正序asc
	
	public IntegralProSearchVo() {
		// TODO Auto-generated constructor stub
	}
	
	public String getImgPath() {
		return imgPath;
	}
	
	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}
	
	@ApiModelProperty(value = "设备", required = true)
	public String getDevice() {
		return device;
	}
	
	public void setDevice(String device) {
		this.device = device;
	}
	
	@ApiModelProperty(value = "系统ID", required = true)
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "最小积分 默认为0", required = false)
	public Long getMinPrice() {
		return minPrice;
	}
	
	public void setMinPrice(Long minPrice) {
		this.minPrice = minPrice;
	}
	
	@ApiModelProperty(value = "商品是否售罄 0 售罄 1 有货", required = false)
	public Short getIsSoldOut() {
		return isSoldOut;
	}
	
	@ApiModelProperty(value = "最大积分", required = false)
	public Long getMaxPrice() {
		return maxPrice;
	}
	
	public void setMaxPrice(Long maxPrice) {
		this.maxPrice = maxPrice;
	}
	
	public void setIsSoldOut(Short isSoldOut) {
		this.isSoldOut = isSoldOut;
	}
	
	@ApiModelProperty(value = "品类ID  茶具48 茶叶95", required = false)
	public Long getCatId() {
		return catId;
	}
	
	public void setCatId(Long catId) {
		this.catId = catId;
	}
	
	@ApiModelProperty(value = "排序的字段 1销量2积分价3上架时间", required = false)
	public Short getOrderBy() {
		return orderBy;
	}
	
	public void setOrderBy(Short orderBy) {
		this.orderBy = orderBy;
	}
	
	@ApiModelProperty(value = "排序方向 1正序 0倒序", required = false)
	public Short getOrderPosition() {
		return orderPosition;
	}
	
	public void setOrderPosition(Short orderPosition) {
		this.orderPosition = orderPosition;
	}
	
}
